<ul class="simple-paginator">
  {% if pager.has_previous() %}
    <li class="newer">
      <a class="btn" href="{{ pager.url|urlparams(page=pager.previous_page_number()) }}">{{ _('Newer') }}</a>
    </li>
  {% endif %}
  {% if pager.has_next() %}
    <li class="older">
      <a class="btn" href="{{ pager.url|urlparams(page=pager.next_page_number()) }}">{{ _('Older') }}</a>
    </li>
  {% endif %}
</ul>
